<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>开班练习</title>
</head>
<style>
    * {
        padding: 0;
        margin: 0%;
    }

    body {
        font: 12px/1;
    }

    .outer {
        width: 400px;
        /* height: 473px; */
        margin: 50px auto;
        /* background-color: skyblue; */
        border: 1px grey solid;
    }

    .title {
        border-top: 2px solid green;
        padding: 0 28px 0 20px;
        height: 35px;
        background-color: skyblue;
        line-height: 35px;
    }

    .title h3 {
        font-size: 16px;
        float: left;
    }

    .title a {
        font-size: 14px;
        float: right;
    }

    .content {
        padding: 0 28px;
    }

    .content h3 {
        font-size: 16px;
        margin-top: 10px;
    }

    .content .left {
        float: left;
    }

    .content .right {
        float: right;
    }

    .content .red {
        color: red;
    }

    .content ul {
        list-style: none;
        border-bottom: #f1f1f1 1px dashed;
    }

    .content ul li {
        margin: 10px 0 10px 0;
        overflow: hidden;
    }

    .content a {
        color: black;
        text-decoration: none;
        float: left;
    }
    .content a:hover{
        color: red;
    }
</style>

<body>
    <div class="outer">
        <div class="title">
            <h3>近期开班</h3>
            <a href="#">16年面授开班计划</a>
        </div>
        <div class="content">
            <h3>JavaEE+云计算-全程就业班</h3>
            <ul>
                <li>
                    <a href="#">开班时间:<span class="red">2016-04-24</span></a><span class="red right">预约报名</span>
                </li>
                <li>
                    <a href="#">开班时间:<span class="red ">2016-04-27</span></a><span class="red right">无座，名额爆满</span>
                </li>
                <li>
                    <a href="#">开班时间:<span>2016-03-15</span></a><span class="right">开班盛况</span>
                </li>
                <li>
                    <a href="#">开班时间:<span>2016-02-25</span></a><span class="right">开班盛况</span>
                </li>
                <li>
                    <a href="#">开班时间:<span>2015-12-26</span></a><span class="right">开班盛况</span>
                </li>
            </ul>
            <h3>Android+人工智能-全程就业班</h3>
            <ul>
                <li>
                    <a href="#">开班时间:<span class="red">2016-04-10</span></a><span class="red right">预约报名</span>
                </li>
                <li>
                    <a href="#">开班时间:<span >2016-03-17</span></a> <span class="right">开班盛况</span>
                </li>
                <li>
                    <a href="#">开班时间:<span>2016-02-20</span></a><span class="right">开班盛况</span>
                </li>
                <li>
                    <a href="#">开班时间:<span>2015-12-23</span></a><span class="right">开班盛况</span>
                </li>
            </ul>
            <h3>前端+HTML5-全程就业班</h3>
            <ul>
                <li>
                    <a href="#">开班时间:<span class="red">2016-05-10</span></a><span class="red right">预约报名</span>
                <li>
                <li>
                    <a href="#">开班时间:<span>2016-03-16</span></a><span class="right">开班盛况</span>
                </li>
            </ul>
        </div>
    </div>
</body>

</html>